package cn.tedu.jewelry.mapper;

import cn.tedu.jewelry.entity.Collect;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

//收藏模块
@Mapper
public interface CollectMapper {

    //商品收藏
    @Select("select * from collect where userid=#{userid}")
    List<Collect>collectList(Integer userid);

}
